home *** CD-ROM | disk | FTP | other *** search
/ Champak 139 / (Vol 139) Sep 24 2011.iso / Games / kirby.swf / scripts / DefineSprite_263 / frame_175 / PlaceObject2_260_1 / CLIPACTIONRECORD onClipEvent(enterFrame).as
Text File  |  2011-09-24  |  353b  |  15 lines

  1. onClipEvent(enterFrame){
  2.    if(eval("../:Kirby")._currentframe < 40)
  3.    {
  4.       this._width = eval("../:Kirby").Beam._width;
  5.       this._height = eval("../:Kirby").Beam._height;
  6.       this._y = (- (90 - eval("../:Kirby").Beam._rotation)) / 2 - 20;
  7.    }
  8.    else
  9.    {
  10.       this._width = 0;
  11.       this._height = 0;
  12.       this._y = 0;
  13.    }
  14. }
  15.